package com.netty.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.netty.common.entity.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.security.PrivateKey;

/**
 * @author LiuXiaoYu
 * @date 2022/2/1- 11:16
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class Group extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 478123456;
    /**
     * 群组id
     */
    @TableId(type = IdType.AUTO)
    private Integer groupId;

    /**
     * 群名
     */
    private String groupName;

    /**
     * 群图像
     */
    private String image;

    /**
     * 群描述
     */
    private String description;

    /**
     * 是谁创建的
     */
    private Integer admin;

}

